package com.Liux.blog.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "friends_list")
public class FriendsList {
    /**
     * id
     */
    @Id
    private Integer id;

    /**
     * 用户id
     */
    @Column(name = "user_id")
    private String userId;

    /**
     * 好友id
     */
    @Column(name = "friends_id")
    private String friendsId;

    /**
     * 获取id
     *
     * @return id - id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置id
     *
     * @param id id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取用户id
     *
     * @return user_id - 用户id
     */
    public String getUserId() {
        return userId;
    }

    /**
     * 设置用户id
     *
     * @param userId 用户id
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * 获取好友id
     *
     * @return friends_id - 好友id
     */
    public String getFriendsId() {
        return friendsId;
    }

    /**
     * 设置好友id
     *
     * @param friendsId 好友id
     */
    public void setFriendsId(String friendsId) {
        this.friendsId = friendsId;
    }
}